
var api = {

  // 获取咨询师详情
  GET_DOCTOR_USERINFO: ['get','/clCrm/api/crm/consult/user/questions/question/consultants'],

  // 提交问题
  SUBMIT_QUESTION: ['post', '/clCrm/api/crm/consult/user/questions/question'],

  // 获取问题详情
  GET_QUESTION_DETAIL: ['get', '/clCrm/api/crm/consult/user/questions/question/detail'],

  // 获取问题列表
  GET_QUESTION_LIST: ['get', '/clCrm/api/crm/consult/user/questions'],
  
  // 获取用户信息
  GET_USER_INFO: ['get','/clCrm/api/crm/consult/users/user/info'],

  // 获取健康币明细列表
  GET_COIN_DETAIL: ['get','/clCrm/api/crm/consult/users/user/coin/details'],

  // 提现
  PUT_TX: ['put','/clCrm/api/crm/consult/users/user/takeOut/coin'],

  // 获取药品问题
  GET_DRUG_QUESTION: ['get','/clCrm/api/crm/consult/drugs/drug/question'],

  // 提交问卷答案
  POST_DRUG_ANSWER: ['post','/clCrm/api/crm/consult/drugs/drug/question/answer'],

  // 获取一个药品的问卷回答列表
  GET_DRUG_ALLANSWERDETAIL: ['get','/clCrm/api/crm/consult/drugs/drug/question/answer/details'],

  // 获取七牛token
  GET_UPLOAD_TOKEN: ['get', '/clSystem/api/images/uptoken'],
  // 小程序解密手机号
  POST_WECHAT_INFO: ['post', '/clWechat/api/xcx/mobileInfo'], 
  GET_USER_OPENID: ['post', '/clWechat/api/wechat/user/info/from/xcx/code'],
  GET_CARD_APPLY_STATUS: ['get', '/clCrm/api/crm/users/user/msCards/msCard/application'], // 获取会员卡申请信息
  GET_CARD_APPLY: ['get', '/clWechat/api/wechat/member/card/rel'], // 获取连锁会员卡 rel
  GET_CODE_IMG: ['get', '/clSystem/api/images/image/code'], // outputVerifyImage
  PURCHASE_RECORD: ['get', '/clDrug/api/drug/drugBoughtRecord/all/table/datas'],
  MEMBER_STYLES: ['get', '/clEnterprise/api/store/storeWechatSetup'],
  GET_CRAD_ID: ['get', '/clWechat/api/wechat/member/card'], // 获取连锁会员卡号
  GET_WECHAT_INFO_CRAD: ['post', '/clWechat/api/wechat/user/info/from/card/xcx'], // 获取微信信息 会员卡
  MEMBER_CARD: ['get', '/clCrm/api/crm/users/user/msCards/from/application'],
  POST_WECHAT_USER_LOGIN: ['post', '/clSystem/api/loginInfo/wechat/member'], // 用户通过手机号和验证码登录微信页面
  POST_WECHAT_USER_ACCOUNT: ['post', '/clSystem/api/loginInfo/xcx/carelinker'], // 用户通过手机号和验证码登录小程序
  POST_WECHAT_OPENID: ['post', '/clWechat/api/xcx/openId/unionId'],
  SEND_MESSAGE: ['get', '/clSystem/api/captcha/sms'],
  // POST_WECHAT_INFO: ['post', '/clWechat/api/xcx/mobileInfo/xcx/member/login'], // 小程序手机号登录
  GET_VERIFYIMG: ['get', '/clSystem/api/images/image/verify'], // 获取验证图片
  CAPTCHA_CHECK: ['get', '/clSystem/api/captcha/check'], // 验证验证码是否正确
  POST_CARDEXT: ['post', '/clWechat/api/wechat/cardExt'],  //获取卡券cardExt
  POST_CARD_CONFIG: ['post', '/clWechat/api/wechat/cardActivateUrl'],  //获取卡券cardExt
  GET_COUNPON_NEW_MEMBER: ['get', '/clCrm/api/crm/marketing/coupon/user/coupons/newMember'],  //获取用户的新人券列表
  GET_COUNPON_OPENED: ['get', '/clCrm/api/crm/marketing/coupon/user/coupons/opened'],  //根据类型获取启用的券列表
  GET_COUNPON_WAIT: ['get', '/clCrm/api/crm/marketing/coupon/user/coupons/wait'],  //获取用户待领取的优惠券列表
  GET_COUNPON_RECEIVED: ['get', '/clCrm/api/crm/marketing/coupon/user/coupons/received'],  //获取用户已经领取的优惠券列表
  POST_COUNPON_RECEIVE: ['post', '/clCrm/api/crm/marketing/coupon/user/coupons/coupon'],  //用户领取优惠券
  GET_CONFIGS: ['get', '/clSystem/api/configuration/center/belongings/belonging/keys/configurations'],
  // 1111
  GET_COMMENTS_DETAIL: ['get', '/clCrm/api/crm/consult/comment/details/detail'], // 获取评价结果
  POST_COMMENTS_DETAIL: ['post', '/clCrm/api/crm/consult/comment/details/detail'] // 提交评价结果
};

module.exports = api
